package com.harry.greendaomaster;

import android.app.Application;
import android.content.Context;

/**
 * @author Martin-harry
 * @date 2022/1/5
 * @address
 * @Desc 全局初始化
 */
public class MyApp extends Application {

    private static Context mContext;

    @Override
    public void onCreate() {
        super.onCreate();
        mContext = getApplicationContext();
    }

    public static Context getContext(){
        return mContext;
    }
}
